home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 3
/
Gold Medal Software - Volume 3 (Gold Medal) (1994).iso
/
stats
/
nonlin31.arj
/
CIRCLE.NLR
< prev
next >
Wrap
Text File
|
1993-12-05
|
521b
|
27 lines
Title "Fit circle to group of points";
Variable Xp; // X coordinate of point
Variable Yp; // Y coordinate of point
Parameter Xc; // X position of circle center
Parameter Yc; // Y position of circle center
Parameter R; // Radius of circle
Function sqrt((Xp-Xc)^2 + (Yp-Yc)^2) - R;
Data ;
10.7 14.7
13.2 12.4
15.7 14.4
16.0 11.0
14.9 8.9
16.6 8.3
13.4 6.1
12.0 3.6
9.2 5.1
6.2 4.6
5.0 7.0
5.0 8.2
3.6 10.0
5.0 10.2
3.6 11.8
5.0 14.8
7.4 14.6
9.4 16.5